.\" Copyright (c) 1983 Regents of the University of California.
.\" All rights reserved.  The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
.\"	@(#)chgrp.1	6.2 (Berkeley) 5/22/86
.\"
.TH CHGRP 1 "May 22, 1986"
.UC 5
.SH NAME
chgrp \- change group
.SH SYNOPSIS
.B chgrp
[ -f -R ]
group file ...
.SH DESCRIPTION
.I Chgrp
changes the group-ID of the
.I files
to
.IR group .
The group may be either a decimal GID or
a group name found in the group-ID file.
.PP
The user invoking 
.I chgrp
must belong
to the specified group and be the owner of the file, or be the super-user.
.PP
No errors are reported when the
.B \-f
(force) option is given.
.PP
When the
.B \-R
option is given, 
.I chgrp
recursively descends its directory arguments
setting the specified group-ID.
When symbolic links are encountered, their group is changed,
but they are not traversed.
.SH FILES
/etc/group
.SH "SEE ALSO"
chown(2),
passwd(5),
group(5)
